package javaSE;

import java.util.Scanner;

public class Andpoor {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入第一个整数");

        int js = scanner.nextInt();
        System.out.println("请输入第二个整数");

        int ts = scanner.nextInt();
        int sum = js + ts;
        int dum = js - ts;

        System.out.println("两数之和"+sum);
        System.out.println("两数之差"+dum);




    }
}
